Timm Bäder [Sun, 21 Jul 2019 08:02:30 +0000 (10:02 +0200)]
textlayout: Remove some outdated comments
These two members have been commented out for 19 years.
Timm Bäder [Sun, 21 Jul 2019 07:58:08 +0000 (09:58 +0200)]
entry: Measure icons again
This was previously removed because it changes the minimum and natural
size of the entry when the icons are shown/hidden at runtime. Just not
measuring them does not work however, so reintroduce this.
Timm Bäder [Sun, 21 Jul 2019 07:51:54 +0000 (09:51 +0200)]
placesview: Make "Other Locations" search case-insensitive
It's just weird to search for "c" and not find the list item labelled
"Computer".
Timm Bäder [Sun, 21 Jul 2019 07:47:09 +0000 (09:47 +0200)]
linedisplay: Save paragraph bg color inline
No need to allocate this separately.
Timm Bäder [Sun, 21 Jul 2019 07:13:24 +0000 (09:13 +0200)]
gtk.supp: Add a pixman_image_composite32 exception
Timm Bäder [Sun, 21 Jul 2019 07:07:27 +0000 (09:07 +0200)]
gtk.supp: add a FcDefaultSubstitute exception
Timm Bäder [Sun, 21 Jul 2019 07:06:50 +0000 (09:06 +0200)]
rendernodeparser: Fix a memory leak when parsing glyphs
Timm Bäder [Sun, 21 Jul 2019 07:06:29 +0000 (09:06 +0200)]
rendernodeparser: Fix a memory leak when parsing textures
Timm Bäder [Sun, 21 Jul 2019 07:06:10 +0000 (09:06 +0200)]
gl renderer: ops_set_modelview is (transfer full)
regarding the passed modelview matrix
Timm Bäder [Sat, 20 Jul 2019 11:04:26 +0000 (13:04 +0200)]
gl renderer: Pull out code from a loop
Does not not actually depend on anything done inside the loop.
Goran Vidović [Fri, 19 Jul 2019 21:29:56 +0000 (21:29 +0000)]
Update Croatian translation
Goran Vidović [Fri, 19 Jul 2019 21:20:13 +0000 (21:20 +0000)]
Update Croatian translation
Timm Bäder [Fri, 19 Jul 2019 14:42:56 +0000 (16:42 +0200)]
gl renderer: Replace a redundant function call
We're already getting the radius from the node above.
Timm Bäder [Fri, 19 Jul 2019 08:14:54 +0000 (10:14 +0200)]
filechooserwidget: Fold function into only caller
Timm Bäder [Fri, 19 Jul 2019 07:59:17 +0000 (09:59 +0200)]
filechooserwidget: Don't emit default-size-changed() in unroot()
It doesn't make much sense to assume the default size has changed just
because the widget has been unrooted.
Timm Bäder [Fri, 19 Jul 2019 07:55:11 +0000 (09:55 +0200)]
filechooser: Remove SETTINGS_KEY_WINDOW_POSITION
Now unused.
Timm Bäder [Fri, 19 Jul 2019 07:54:30 +0000 (09:54 +0200)]
filechooserwidget: Don't look at saved window position
We don't save it anymore so no need to look at it here.
Timm Bäder [Fri, 19 Jul 2019 07:54:14 +0000 (09:54 +0200)]
filechooserdialog: Stop using gtk_window_get_position()
Timm Bäder [Fri, 19 Jul 2019 07:47:16 +0000 (09:47 +0200)]
Revert "file chooser: Stop using gtk_window_get_position"
This reverts commit
2ed533c3e1f0fe776fb24cc370447a0c63e49f24.
This also made the filechooser dialog not save the window size anymore,
which does not depend on the gtk_window_get_position() removal.
Timm Bäder [Fri, 19 Jul 2019 07:36:25 +0000 (09:36 +0200)]
gtkfilechooserwidget: Temporarily disable revealer transitions...
... when going between recent and browse. It just looks weird to have
this transition while the treeview model is just cleared/repopulated
without any transition.
Timm Bäder [Fri, 19 Jul 2019 06:04:45 +0000 (08:04 +0200)]
placessidebar: Remove sidebar border again
Christoph Reiter [Thu, 18 Jul 2019 19:32:19 +0000 (19:32 +0000)]
Merge branch 'tests-no-box-packing' into 'master'
testsuite: Remove dangling references to box-packing tests
See merge request GNOME/gtk!997
Emmanuele Bassi [Thu, 18 Jul 2019 10:31:19 +0000 (10:31 +0000)]
Merge branch 'pc-libs-private' into 'master'
gtk4.pc: Move third-party libraries from Libs to Libs.private
See merge request GNOME/gtk!998
Emmanuele Bassi [Thu, 18 Jul 2019 10:11:12 +0000 (10:11 +0000)]
Merge branch 'gtk-4-support-tcrypt-with-proxy-handler' into 'master'
gtkmountoperation: Support TCRYPT options when using proxy handler
See merge request GNOME/gtk!245
segfault [Mon, 9 Jul 2018 19:13:50 +0000 (21:13 +0200)]
gtkmountoperation: Support TCRYPT options when using proxy handler
GMountOperation now supports options to unlock TCRYPT volumes. This
patch sets these options if they are returned by AskPassword() of a
GtkMountOperationHandlerProxy.
Simon McVittie [Wed, 17 Jul 2019 10:01:57 +0000 (11:01 +0100)]
testsuite: Remove dangling references to box-packing tests
These were removed in commit
c47abb5f, before 3.96.0.
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Thu, 18 Jul 2019 08:20:57 +0000 (09:20 +0100)]
gtk4.pc: Move third-party libraries from Libs to Libs.private
This avoids "overlinking". These libraries are an implementation detail
of particular backends, so they only need to appear on library consumers'
linker command-lines if the dependency cannot be picked up from the
shared library automatically (when linking statically, or when building
on a deficient OS that doesn't support transitive dependencies between
shared libraries, in which case pkg-config should be built with
--enable-indirect-deps).
Signed-off-by: Simon McVittie <smcv@debian.org>
Timm Bäder [Mon, 15 Jul 2019 05:48:46 +0000 (07:48 +0200)]
scrollbar: Use a box layout
Makes a lot more sense than the intermediate box just for its layout.
Timm Bäder [Mon, 15 Jul 2019 04:56:19 +0000 (06:56 +0200)]
text: Don't leak emoji chooser
Timm Bäder [Mon, 15 Jul 2019 04:43:25 +0000 (06:43 +0200)]
menu: Fix an uninitialized value
If the menu does not have any children, we'd otherwise end up calling
g_object_ref() on an uninitialized value.
Timm Bäder [Mon, 15 Jul 2019 04:38:51 +0000 (06:38 +0200)]
progressbar: Use box layout
Instead of the custom layouting we did before.
Timm Bäder [Mon, 15 Jul 2019 03:38:25 +0000 (05:38 +0200)]
text: Move some locals into the closest scope
Timm Bäder [Mon, 15 Jul 2019 03:19:02 +0000 (05:19 +0200)]
text: Remove some useless casts
Timm Bäder [Mon, 15 Jul 2019 03:17:46 +0000 (05:17 +0200)]
text: Move some locals into the closest scope
Jordi Mas [Sun, 14 Jul 2019 09:25:12 +0000 (11:25 +0200)]
Update Catalan translation
Timm Bäder [Sat, 13 Jul 2019 16:49:08 +0000 (18:49 +0200)]
Remove some dead assignments
Timm Bäder [Sat, 13 Jul 2019 16:10:15 +0000 (18:10 +0200)]
Adwaita: Add fontbutton spacing back
Timm Bäder [Sat, 13 Jul 2019 16:08:45 +0000 (18:08 +0200)]
adwaita: Remove a dead rule
GtkFileChooserButtons are called "filechooserbutton" these days, not
button.file
Timm Bäder [Sat, 13 Jul 2019 15:35:59 +0000 (17:35 +0200)]
gl renderer: Fix opacity nodes with overlapping child nodes
Aurimas Černius [Sat, 13 Jul 2019 15:28:21 +0000 (18:28 +0300)]
Updated Lithuanian translation
Timm Bäder [Sat, 13 Jul 2019 15:06:22 +0000 (17:06 +0200)]
popover: Fix a broken cast
The widget passed here is priv->relative_to, not the popover.
Timm Bäder [Sat, 13 Jul 2019 09:12:47 +0000 (11:12 +0200)]
rendernodeparser: fix typo
Timm Bäder [Sat, 13 Jul 2019 08:10:17 +0000 (10:10 +0200)]
fishbowl: Plug a small leak
Timm Bäder [Sat, 13 Jul 2019 07:38:28 +0000 (09:38 +0200)]
picture: Unref previous paintable
We were leaking all of them.
Timm Bäder [Sat, 13 Jul 2019 07:38:14 +0000 (09:38 +0200)]
suppression file: Add glReadPixels mesa exception
Timm Bäder [Sat, 13 Jul 2019 07:37:47 +0000 (09:37 +0200)]
node editor: Manually unrealize all created renderers
This has not been a problem before since we were leaking them.
Timm Bäder [Fri, 12 Jul 2019 09:59:38 +0000 (09:59 +0000)]
Merge branch 'fix-issue-2014-gtk4' into 'master'
Fix a string leak in gtkemojicompletion.c [gtk4]
Closes #2014
See merge request GNOME/gtk!993
Luca Bacci [Fri, 12 Jul 2019 08:43:44 +0000 (08:43 +0000)]
Fix a string leak
Fixes #2014
Timm Bäder [Wed, 10 Jul 2019 06:26:00 +0000 (08:26 +0200)]
fpsoverlay: Fix fps overlay position
Matthias Clasen [Tue, 9 Jul 2019 19:39:58 +0000 (19:39 +0000)]
Merge branch 'wip/baedert/accelmap' into 'master'
AccelMap: Sort accels before iterating over them in foreach()
See merge request GNOME/gtk!980
Matthias Clasen [Tue, 9 Jul 2019 19:39:13 +0000 (19:39 +0000)]
Merge branch 'wip/baedert/for-master' into 'master'
Improve the valgrind experience
See merge request GNOME/gtk!984
Kukuh Syafaat [Tue, 9 Jul 2019 07:56:21 +0000 (07:56 +0000)]
Update Indonesian translation
Asier Sarasua Garmendia [Mon, 8 Jul 2019 20:19:10 +0000 (20:19 +0000)]
Update Basque translation
Asier Sarasua Garmendia [Mon, 8 Jul 2019 20:14:08 +0000 (20:14 +0000)]
Update Basque translation
Asier Sarasua Garmendia [Mon, 8 Jul 2019 19:18:08 +0000 (19:18 +0000)]
Update Basque translation
Chun-wei Fan [Mon, 8 Jul 2019 10:37:27 +0000 (18:37 +0800)]
demos/constraint-editor: Fix linking on MSVC builds
We must apply the /entry:mainCRTStartup linker flag in order to link GTK
apps in pure GUI form. This follows what is done in demos/gtk-demo,
etc.
Timm Bäder [Mon, 8 Jul 2019 07:14:48 +0000 (07:14 +0000)]
Merge branch 'ui-enum-values' into 'master'
Change the few examples that use a full GTK_ enum value in .ui files.
See merge request GNOME/gtk!987
Timm Bäder [Mon, 8 Jul 2019 07:14:13 +0000 (07:14 +0000)]
Merge branch 'gltexsubimage2d' into 'master'
use glTexSubImage2D instead of glTextureSubImage2D
Closes #2005
See merge request GNOME/gtk!986
Timm Bäder [Mon, 8 Jul 2019 07:10:41 +0000 (07:10 +0000)]
Merge branch 'glsl-float-literals' into 'master'
glsl: use float literals
See merge request GNOME/gtk!985
Robert Ancell [Mon, 8 Jul 2019 03:52:28 +0000 (15:52 +1200)]
Change the few examples that use a full GTK_ enum value in .ui files.
Lowercase versions work just as well and are much more readable.
Piotr Drąg [Sun, 7 Jul 2019 11:22:10 +0000 (13:22 +0200)]
Update Polish translation
Timm Bäder [Sun, 7 Jul 2019 05:43:08 +0000 (07:43 +0200)]
widget: Remove queue_resize_no_redraw
We always invalidate the widget in size_allocate() anyway.
Timm Bäder [Sun, 7 Jul 2019 05:36:29 +0000 (07:36 +0200)]
widget: Make queue_compute_expand() private
Nobody needs to call this anymore.
Timm Bäder [Sun, 7 Jul 2019 05:23:05 +0000 (07:23 +0200)]
compare-render: Don't unref an invalid GFile
We already unref it when the g_file_make_directory_with_parents fails.
Timm Bäder [Sat, 6 Jul 2019 11:38:55 +0000 (13:38 +0200)]
gl renderer: Properly clean up program state transforms
Timm Bäder [Sat, 6 Jul 2019 10:57:36 +0000 (12:57 +0200)]
iconhelper: Try to avoid some save/restore calls
GtkImage already does something similar so we often end up with 0/0
here. Avoid the save()/restore() calls in GtkSnapshot in that case.
Timm Bäder [Sat, 6 Jul 2019 10:56:28 +0000 (12:56 +0200)]
transform: Fix identity transform fast paths
Returning an extra ref will cause leaks later.
Timm Bäder [Sat, 6 Jul 2019 08:26:11 +0000 (10:26 +0200)]
widget: Unref previous transform
Timm Bäder [Sat, 6 Jul 2019 07:57:35 +0000 (09:57 +0200)]
widget factory: Plug a memory leak
Timm Bäder [Sat, 6 Jul 2019 05:13:41 +0000 (07:13 +0200)]
actionmuxer: Plug a memory leak
Timm Bäder [Sat, 6 Jul 2019 07:50:44 +0000 (09:50 +0200)]
Add a gtk valgrind suppression file
Not ideal but otherwise I get 30k line output from valgrind when just
running the widget factory. It's mostly mesa but still.
Elias Aebi [Sat, 6 Jul 2019 14:23:21 +0000 (16:23 +0200)]
use glTexSubImage2D instead of glTextureSubImage2D
Elias Aebi [Sat, 6 Jul 2019 12:42:08 +0000 (14:42 +0200)]
glsl: use float literals
Timm Bäder [Sat, 6 Jul 2019 07:50:07 +0000 (09:50 +0200)]
cssprovider: Fix a memory leak in load_internal
We create a new GBytes but never unref it.
Benjamin Otte [Fri, 5 Jul 2019 18:55:54 +0000 (20:55 +0200)]
x11: Make sure stream stays alive long enough
When unreffing the stream from a different thread, the close function
will schedule its cleanup asynchornously in the main thread.
We need to make sure the stream object stays alive for as long as
that hasn't happened, so ref() it.
Fixes #2003
Timm Bäder [Thu, 4 Jul 2019 12:45:13 +0000 (12:45 +0000)]
Merge branch 'header-custom-title-valign' into 'master'
headerbar: Don't change the custom title's valign
See merge request GNOME/gtk!981
Adrien Plazas [Thu, 4 Jul 2019 11:03:37 +0000 (13:03 +0200)]
headerbar: Don't change the custom title's valign
This allows custom titles to use the vertical alignment of their choice
without having to set it manually after it has been added to the header
bar, hence allowing them to define their preferred alignment from a UI
template.
This is useful for widgets like the view switcher which requires filling
the header bar's whole height.
Timm Bäder [Wed, 3 Jul 2019 08:07:21 +0000 (10:07 +0200)]
accelmap: Sort accels before interating over them in foreach()
Timm Bäder [Wed, 3 Jul 2019 08:02:45 +0000 (10:02 +0200)]
accelmap: Avoid a confusing goto
Emmanuele Bassi [Wed, 3 Jul 2019 16:57:27 +0000 (17:57 +0100)]
ci: Comment job, not just the stage
GitLab doesn't like it when we keep a job but disable the stage.
Emmanuele Bassi [Wed, 3 Jul 2019 16:54:32 +0000 (17:54 +0100)]
ci: Disable deploy jobs
The version of gtk-doc in our CI image is not new enough to cope with
the fact that GTK lost container properties.
Benjamin Otte [Wed, 3 Jul 2019 16:21:32 +0000 (16:21 +0000)]
Merge branch 'wip/frame-clock-consumers' into 'master'
Frame clock consumers
See merge request GNOME/gtk!971
Emmanuele Bassi [Wed, 3 Jul 2019 13:25:44 +0000 (13:25 +0000)]
Merge branch 'layout-manager-ref' into 'master'
widget: Don't lose a layout manager ref
See merge request GNOME/gtk!977
Matthias Clasen [Wed, 3 Jul 2019 13:16:35 +0000 (13:16 +0000)]
widget: Don't lose a layout manager ref
gtk_widget_set_layout_manager is transfer-full,
so we must give it a new reference from set_property
to implement object property semantics properly.
Daniel Mustieles [Wed, 3 Jul 2019 09:45:12 +0000 (11:45 +0200)]
Updated Spanish translation
Jonas Ådahl [Fri, 28 Jun 2019 18:54:16 +0000 (20:54 +0200)]
gdksurface: Make all surfaces listen to the frame clock signals
Instead of the toplevel driving popups, have the popups listen to the
frame clock themselves. Otherwise, if the toplevel for some reason isn't
drawn by the compositor and stops drawing new frames, popups wouldn't
get painted either.
Jonas Ådahl [Fri, 28 Jun 2019 16:45:44 +0000 (18:45 +0200)]
gdk/frameclock: Make surfaces inhibit freeze
To make a frame clock tick as long as any of the associated surfaces
expect to receive ticks, make the surfaces inhibit freezing the clock,
instead of directly tell the frame clock to freeze itself.
This makes it so that as long as any surface using a certain frame clock
is not frozen (e.g. just received a frame event from the display
server), the frame clock will not be frozen.
With this, the frame clock is initiated as frozen, and won't be thawed
until any surface inhibits freeze. It will be frozen again, when every
surface has that previously inhibited freeze uninhibited freeze.
Jonas Ådahl [Tue, 25 Jun 2019 12:14:31 +0000 (14:14 +0200)]
tests: Add back testpopupat
It's still useful for testing menus. Fixed the .ui file by removing a
property that no longer exists.
This effectively reverts commit
84d2150077bbab60529ef8345f58247fee527364.
Jonas Ådahl [Mon, 24 Jun 2019 09:09:35 +0000 (11:09 +0200)]
menu: Remove unused variable
Mohammed Sadiq [Wed, 3 Jul 2019 04:01:39 +0000 (09:31 +0530)]
constraint: Fix property name typo in doc
Piotr Drąg [Tue, 2 Jul 2019 17:02:36 +0000 (19:02 +0200)]
Update POTFILES.in and POTFILES.skip
Matej Urbančič [Tue, 2 Jul 2019 16:51:55 +0000 (18:51 +0200)]
Updated Slovenian translation
Matthias Clasen [Tue, 2 Jul 2019 14:18:42 +0000 (14:18 +0000)]
Merge branch 'constraint-list-model' into 'master'
Constraint list models
See merge request GNOME/gtk!975
Matthias Clasen [Tue, 2 Jul 2019 11:41:32 +0000 (11:41 +0000)]
constraint editor: Implement loading
Allow to reread the ui builder files we write out.
Just barely.
Matthias Clasen [Tue, 2 Jul 2019 04:35:16 +0000 (04:35 +0000)]
constraints editor: Stop naming constraints
We don't have a field for the name in ui files,
so stop naming constraints.
Matthias Clasen [Mon, 1 Jul 2019 18:39:36 +0000 (18:39 +0000)]
constraint editor: Implement saving
Save to a ui file.
Matthias Clasen [Tue, 2 Jul 2019 03:15:12 +0000 (03:15 +0000)]
constraint editor: Use name properties
Matthias Clasen [Tue, 2 Jul 2019 00:15:55 +0000 (20:15 -0400)]
constraint editor: Use the list models
Instead of handrolling our own list models,
use the ones provided by GtkConstraintLayout.
Matthias Clasen [Tue, 2 Jul 2019 00:14:26 +0000 (20:14 -0400)]
constraint layout: Provide list models
Provide list models for the constraints and guides,
so we can show them in the inspector, and use them
in e.g. the constraints editor.
Matthias Clasen [Tue, 2 Jul 2019 14:01:01 +0000 (14:01 +0000)]
Merge branch 'wip/ebassi/constraint-layout' into 'master'
Add constraint-based layout manager
Closes #1090
See merge request GNOME/gtk!973